$(function () {

    var data = [
    { label: "Donated", data: 20, color: '#' },
    { label: "Goal", data: 78, color: '#D3D3D3' }
    ];

    $.plot($("#donut"), data,
    {
        series: {
            pie: {
                innerRadius: 0.7,
                show: true,
                label: { show: false }
            }
        },
        legend: { show: false }
    });
    
    $("#donutData").text(Math.round(data[0].data/data[1].data*100)+"%");
});
